3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
An object class usually has several public data structures that the object system makes available to other code. A class may also have private class data that it maintains to track methods and other internal information. This private data, of methodsSize bytes, is passed to the Q3ObjectHierarchy_RegisterClass call. It generally contains or references the public data in some way.
A class's public data structure is passed in external _New and _Submit calls. The data is passed around the system for rendering, I/O, and other functions. The data structure, which is not specified in the Q3ObjectHierarchy_RegisterClass call, should be published so other applications may use the object.
Previous | QD3D Book | Overview | Chapter Contents | Next |